package com.zzyl.nursing.service.impl;

import com.zzyl.nursing.mapper.NursingElderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NursingElderService {

    @Autowired
    private NursingElderMapper nursingElderMapper;

    public List<Long> findElderIdsByNursingId(Long nursingId) {
        return nursingElderMapper.selectElderIdsByNursingId(nursingId);
    }
}